<div class="GoodsListWrap">
  <div class="GoodsList">

    <table width="100%" cellpadding="0" cellspacing="0">
      <{counter start=1 assign="result" print=false }>
	  
    <{foreach from=$data.goods item=goods_data key=key name=goodslist}>
	 
    <{if ($result mod $setting.column) eq 1 }>
      <tr>
        <td><a href="<{link ctl="product" act="index" arg0=$goods_data.goods_id}>" target="_blank" title="<{$goods_data.name}>"><{$goods_data.name|cut:$setting.max_length}></a></td>
          <{elseif ($result mod $setting.column) eq 0}>
        <td><a href="<{link ctl="product" act="index" arg0=$goods_data.goods_id}>" target="_blank" title="<{$goods_data.name}>"><{$goods_data.name|cut:$setting.max_length}></a></td>
      </tr>
        <{else}>
        <td><a href="<{link ctl="product" act="index" arg0=$goods_data.goods_id}>" target="_blank" title="<{$goods_data.name}>"><{$goods_data.name|cut:$setting.max_length}></a></td>
        <{/if}>
      <{counter assign="result" print=false }>
      <{/foreach}>
    </table>
  </div>
          <{if $setting.showMore == "on"}>

  <div class="more clearfix"><a href="<{$data.link}>">更多...</a></div>
  <{/if}>
</div>